import ReadisConfig from "./ReadisConfig"
/**
 * mysql的配置类
 */
export = class MysqlConfig {

    public host: string;
    public port: string | number;
    public username: string;
    public password: string;
    public database: string;
    public readis?: ReadisConfig;
    public model?: boolean;

    constructor(info: any = {}) {
        this.host = info.host;
        this.port = info.port;
        this.username = info.username;
        this.password = info.password;
        this.database = info.database;
    }
}